package com.matt.domain.courseV2.vo;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OrderBy;
import javax.persistence.Table;

/**
 * 点赞
 */

@Data
public class FabulousVO  {

    @Column(columnDefinition = "varchar(255) COMMENT '关联资源 id'")
    @OrderBy
    private String resId;

    @Column(columnDefinition = "int default 1 COMMENT '关联资源类型：1.学习记录 '")
    private int resType = 1;

    @Column(columnDefinition = "varchar(32) COMMENT '点赞用户 id'")
    private String userId;

    @Column(columnDefinition = "varchar(32) COMMENT '点赞用户 头像'")
    private String userImg;

    @Column(columnDefinition = "varchar(32)   COMMENT '点赞用户 名称' ")
    private String userName;

    @Column(columnDefinition = "int default 1  COMMENT '点赞用户 类型 1家长，2老师' ")
    private int userType = 1;
}





